﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prepare.Data;

namespace Prepare.Business.Managers
{
    public static class DataManager
    {
        private static PrepareEntities Context
        {
            get { return UnitOfWork.GetContext<PrepareEntities>(); }
        }

        public static IRepository<Test> Repository
        {
            get { return UnitOfWork.GetRepository<Test>(); }
        }

        public static IRepository<Account> AccountRepository
        {
            get { return UnitOfWork.GetRepository<Account>(); }
        }
    }
}
